﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpage/QuanLy.Master" AutoEventWireup="true" CodeBehind="SuaHocVienLopHoc.aspx.cs" Inherits="DT5_Anh09110006_Hung09110044_Vu09110157.QuanLy.SuaHocVienLopHoc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 120px;
            padding-left: 10px;
            height: 30px;
        }
        .style2
        {
            width: auto;
            height: 30px;
        }
        #qllh
        {
            background: url("../Image/menu_focus.png") no-repeat scroll transparent;
            color: #FFFFFF;
            left: -6px;
            padding: 19px 18px 19px 25px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1 style="padding-left: 40px">
        Trang Thêm Mới Học Viên Lớp Học</h1>
    <asp:ValidationSummary ID="ValidationSummary1" ValidationGroup="CapNhatHocVienLopHoc"
        runat="server" ForeColor="Red" />
    <table style="float: left; margin-left: 20px; width: 45%">
        <tr>
            <td>
                <asp:Panel ID="Panel1" runat="server" GroupingText="Thông tin chính">
                    <table style="margin-left: 20px" cellpadding="5px">
                        <tr>
                            <td class="style1">
                                Mã Lớp:
                            </td>
                            <td class="style2">
                                <asp:Label ID="lblMaLop" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td class="style1">
                                Mã Học Viên
                            </td>
                            <td class="style2">
                               <asp:Label ID="lblMaHV" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td class="style1">
                                Điểm 1:
                            </td>
                            <td class="style2">
                                <asp:TextBox ID="txtDiem1" runat="server" Width="200px"/>
                                <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="Điểm nhập không đúng định dạng"
                                    ControlToValidate="txtDiem1" ForeColor="Red" MaximumValue="10" MinimumValue="0"
                                    Type="Double" ValidationGroup="CapNhatHocVienLopHoc">*</asp:RangeValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="style1">
                                Điểm 2:
                            </td>
                            <td class="style2">
                                <asp:TextBox ID="txtDiem2" runat="server" Width="200px" />
                                <asp:RangeValidator ID="RangeValidator2" runat="server" ErrorMessage="Điểm nhập không đúng định dạng"
                                    ControlToValidate="txtDiem2" ForeColor="Red" MaximumValue="10" MinimumValue="0"
                                    Type="Double" ValidationGroup="CapNhatHocVienLopHoc">*</asp:RangeValidator>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
    </table>
    <table style="float: left; margin-left: 20px; width: 45%">
        <tr>
            <td>
                <asp:Panel ID="Panel2" runat="server" GroupingText="Thông tin phụ thêm">
                    <table style="margin-left: 20px" cellpadding="5px">
                        <tr>
                            <td class="style1">
                                Đóng học phí:
                            </td>
                            <td class="style2">
                                <asp:DropDownList runat="server" ID="ddlHocPhi" Width="205px">
                                    <asp:ListItem>false</asp:ListItem>
                                    <asp:ListItem>true</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="style1">
                            </td>
                            <td class="style2">
                                  <asp:Button ID="btnCapNhatHocVienLopHoc" Text="Cập Nhật" runat="server" Width="100px" ValidationGroup="CapNhatHocVienLopHoc"
                                    CssClass="btnCapNhat" onclick="btnCapNhatLopHoc_Click" />
                                &nbsp;<asp:Button ID="btnQuayLai" Text="Hủy" runat="server" Width="100px" OnClick="btnQuayLai_Click"
                                    CssClass="btnHuy" />
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>

